

        <g:set var="entityName" value="${message(code: 'restTime.label', default: 'RestTime')}" />
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                            <g:sortableColumn property="startHour" title="${message(code: 'restTime.startHour.label', default: 'Start Hour')}" />
                        
                            <g:sortableColumn property="endHour" title="${message(code: 'restTime.endHour.label', default: 'End Hour')}" />
                        
                            <g:sortableColumn property="startMinute" title="${message(code: 'restTime.startMinute.label', default: 'Start Minute')}" />
                        
                            <g:sortableColumn property="endMinute" title="${message(code: 'restTime.endMinute.label', default: 'End Minute')}" />
                        
                            <th><g:message code="restTime.school.label" default="School" /></th>
                   	    
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${restTimeInstanceList}" status="i" var="restTimeInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${restTimeInstance.id}">${fieldValue(bean: restTimeInstance, field: "startHour")}</g:link></td>
                        
                            <td>${fieldValue(bean: restTimeInstance, field: "endHour")}</td>
                        
                            <td>${fieldValue(bean: restTimeInstance, field: "startMinute")}</td>
                        
                            <td>${fieldValue(bean: restTimeInstance, field: "endMinute")}</td>
                        
                            <td>${fieldValue(bean: restTimeInstance, field: "school")}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <g:paginate total="${restTimeInstanceTotal}" />
            </div>
